//
//  NYAccountManager.h
//  Nooryes
//
//  Created by baken on 2020/2/28.
//  Copyright © 2020 MyApp. All rights reserved.
//

#import "BaseNetManager.h"
@class NYAccountModel,NYArticleListModel,NYTopicListModel,NYMainModel,NYMessageListModel;

NS_ASSUME_NONNULL_BEGIN

@interface NYAccountManager : BaseNetManager

+ (void)getUserInfoWithUserID:(NSString *)uid andSessionID:(NSString *)sessionid andCompletionHandle:(void (^)(NYAccountModel *, NSError *))complete;


+(void)getArticleCollectListWithUserID:(NSString *)uid andSessionID:(NSString *)sessionid andType:(NSString *)type andPage:(NSString *)page andCompletionHandle:(void (^)(NYArticleListModel *model, NSError *error))complete;


+(void)getTopicCollectListWithUserID:(NSString *)uid andSessionID:(NSString *)sessionid andType:(NSString *)type andPage:(NSString *)page andCompletionHandle:(void (^)(NYTopicListModel *model, NSError *error))complete;

+(void)getMessageListWithUserID:(NSString *)uid andSessionID:(NSString *)sessionid andPage:(NSString *)page andCompletionHandle:(void (^)(NYMessageListModel *model, NSError *error))complete;

+(void)getMessageCountWithUserID:(NSString *)uid andSessionID:(NSString *)sessionid andCompletionHandle:(void (^)(NYMainModel *model, NSError *error))complete;
@end

NS_ASSUME_NONNULL_END
